/* Toolbox */

#toolbox {
  float: left;
  margin-right: 10px;
}

#operatorToolbox,
#datasetToolbox {
  margin-bottom: 10px;
  background-color: #ffffff;
  border:1px solid #d9d9d9;
  border-radius: 5px;
}

#operatorToolboxHeader,
#datasetToolboxHeader {
  padding-top: 3px;
  padding-bottom: 3px;
  font-weight: bold;
  text-align: center;
  border-radius: 5px 5px 0 0;
  border-bottom: 1px solid #D9D9D9;
}

.toolboxOperator {
  width: 200px;
  height: 13px;
  padding: 4px;
  margin: 5px;
  text-align: left;
  cursor:move;
  font-size: 9pt;
  z-index:50;
  background-color: #d6eeff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1) inset;
  border-radius: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Editor */

#editorContent {
  width: auto;
  height: 800px;
  padding: 5px;
  overflow: scroll;
  position: relative;
  background: url("../img/grid.png") repeat scroll 0 0;
  border:1px solid #d9d9d9;
  margin-bottom: 8px;
}

/* Operator */

.operator {
  width:200px;
  position:relative;
  left:100px;
  top:100px;
  font-size: 9pt;
  z-index: 1;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  -webkit-transition: background-color 0.25s ease-in;
  -moz-transition: background-color 0.25s ease-in;
  transition: background-color 0.25s ease-in;
}

.operatorHeader {
  height: 15px;
  cursor: move;
  padding: 4px;
  background-color:#1484d4;
  border-radius: 5px 5px 0 0;
}

.operatorHeaderText {
  width: 160px;
  white-space:nowrap;
  overflow:hidden;
  float: left;
  font-size: 9pt;
  font-weight: bold
}

.operatorContent {
  min-height: 14px;
  min-width: 180px;
  padding: 5px;
  border-radius: 0 0 5px 5px;
  border-left:1px solid #1484d4;
  border-right:1px solid #1484d4;
  border-bottom:1px solid #1484d4;
  overflow: hidden;
  text-overflow: ellipsis;
}

.operator:hover {
  background-color: #d6eeff;
  box-shadow: 1px 1px 6px #1484d4;
}

/* Dataset */

.dataset {
  position: absolute;
  width: 100px;
  height: 80px;
  z-index: 1;
}

.dataset-contents {
  width: 100px;
  height: 80px;
  position: absolute;
  border-left: 1px solid #1484d4;
  border-right: 1px solid #1484d4;
  background-color: white;
  cursor: move;
  text-align: center;
}

.dataset-buttons {
  position: absolute;
  right: 10px;
  top: 25px;
  cursor: pointer;
}

.dataset-name {
  position: absolute;
  left: 0;
  top: 45px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dataset-top {
  border-radius: 50%;
  width: 100px;
  height: 30px;
  position: absolute;
  top: -15px;
  border: 1px solid #1484d4;
  background-color: white;
  cursor: move;
}

.dataset-bottom {
  border-radius: 50%;
  width: 100px;
  height: 30px;
  position: absolute;
  top: 65px;
  border: 1px solid #1484d4;
  background-color: white;
}

/* jsPlump */

.jsplumb-endpoint {
  z-index: 2;
}

.jsplumb-connector {
  cursor: pointer;
}